import request from "@/utils/request";
import { param } from "@/utils";

/**
 * 其他分类树
 */
export const getOtherCategoryTree = () =>{
   return  request({
        url: "/finance/billCategory/other/tree",
})}

/**
 * 列表
 */
export const getList=(query,data)=>{
   return request({
        url:`/finance/billCategoryNote/other/page?${param(query)}`,
        method:'post',
        data
    })
}
/**
 * 添加
 */
export const add=(data)=>{
    return request({
        url:"/finance/billCategoryNote/other/apply/add",
        method:'post',
        data
    })
}
/**
 * 详情
 */
export const detail=(noteId)=>{
    return request({
        url:`/finance/billCategoryNote/other/detail/${noteId}`,
        method:'post'
    })
}